package com.takeaway.dagger2.module

import com.takeaway.presenter.HomeFragmentPresenter
import com.takeaway.ui.fragment.HomeFragment
import dagger.Module
import dagger.Provides

@Module class HomeFragmentModule(val homefragment: HomeFragment) {
    @Provides fun provideHomeFragmentPresneter(): HomeFragmentPresenter {
        return HomeFragmentPresenter(homefragment)
    }
}